package org.springblade.demo2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("blade_blog")
public class Blog {
	private static final long serialVersionUID = 1L;

	@TableId(value = "id",type = IdType.INPUT)
	private Integer id;

	private String blogTitle;

	private String blogContent;

	private LocalDateTime blogDate;

	@TableLogic
	private Integer isDeleted;


}
